Spawns

The Player Meta for the Spawns Module.

Functions

playerMeta:IsOnDeathTimer()

Checks if the player is still within the spawn timer period after death. This function checks if the current time is less than the death time, indicating that the spawn timer is still active.

Returns

  • boolean

    True if the death timer is active and within the spawn time, false otherwise.

playerMeta:SetDeathTimer()

Sets the player's death timer to the current time plus the configured spawn time. This function records the time of death for the player, setting the death timer to expire after the spawn time.